using System;
using System.Collections.Generic;
using System.Text;

namespace GuoTao.Model
{
    public class BusInfModel
    {
        public BusInfModel()
        { 
        }
        //public BusInfModel(int busid, int bigclassid, string busname, DateTime busdate, string buspicture, decimal busprice, string busdescription, int xscs, string djcs)
        // {
        //    this.busid = busid;
        //    this.bigclassid = bigclassid;
        //    this.busname = busname;
        //    this.busdate = busdate;
        //    this.buspicture = buspicture;
        //    this.busprice = busprice;
        //    this.busdescription = busdescription;
        //    this.xscs = xscs;
        //    this.djcs = djcs; 
        //}
        public BusInfModel(int busid, int bigclassid, string busname, DateTime busdate, decimal busprice)
        {
            this._busid = busid;
            this._bigclassid = bigclassid;
            this._busname = busname;
            this._busdate = busdate;
            this._busprice = busprice;
        }

        #region Model
        private int _busid;
        private int _bigclassid;
        private string _busname;
        private DateTime _busdate;
        private string _buspicture;
        private decimal _busprice;
        private string _busdescription;
        private int _xscs;
        private string _djcs;
        /// <summary>
        /// 
        /// </summary>
        public int BusID
        {
            set { _busid = value; }
            get { return _busid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int BigClassID
        {
            set { _bigclassid = value; }
            get { return _bigclassid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string BusName
        {
            set { _busname = value; }
            get { return _busname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime BusDate
        {
            set { _busdate = value; }
            get { return _busdate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string BusPicture
        {
            set { _buspicture = value; }
            get { return _buspicture; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal BusPrice
        {
            set { _busprice = value; }
            get { return _busprice; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string BusDescription
        {
            set { _busdescription = value; }
            get { return _busdescription; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int xscs
        {
            set { _xscs = value; }
            get { return _xscs; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string djcs
        {
            set { _djcs = value; }
            get { return _djcs; }
        }
        #endregion Model
    }
}
